import {Reactive} from "./core/instance";

const options = {
    template: `
        <div>
            <div>{{ name }}</div>
            <div v-for="item in list" v-key="item.index" >
                {{ item.value }}
            </div>
        </div>
    `,
    data: {
        name: 'yanghy',
        list: [
            { index: 1, value: 'what' },
            { index: 2, value: 'for' },
            { index: 3, value: '?' }
        ]
    }
};

const vm = new Reactive(options);
console.log(vm);
